import { ApiVersoin } from '@/common/enums/httpEnum'
const Url = {
  companyVerification: `${ApiVersoin.V11}/customer-verification/company-verification`,
  queryCompany: `${ApiVersoin.V11}/customer-verification/query-company`,
  companyVerInfo: `${ApiVersoin.V11}/customer-verification/company-ver-info`,
  customerVerificationIsOpen: `${ApiVersoin.V11}/customer-verification/is-open`,
  companyVerInfo: `${ApiVersoin.V11}/customer-verification/company-ver-info`,
}

/*
 *企业认证提交接口
 */
export const companyVerification = (data) => uni.$uv.http.post(Url.companyVerification, data, { custom: { showLoading: true } })
/*
 *获取搜索公司列表
 */
export const queryCompany = (params) => uni.$uv.http.get(Url.queryCompany, { params, custom: { showLoading: true } })
/*
 *员工企业认证信息
 */
export const companyVerInfo = (params) => uni.$uv.http.get(Url.companyVerInfo, { params, custom: { showLoading: true, showMessage: false } })
/*
 *员工认证活动是否开启
 */
export const customerVerificationIsOpen = (params) => uni.$uv.http.get(Url.customerVerificationIsOpen, { params, custom: {} })
